class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column :login,            :string, :null => false
      t.column :hashed_password,  :string, :null => false
      t.column :salt,             :string, :null => false
      t.column :first_name,       :string, :null => false
      t.column :middle_initial,   :string, :null => false
      t.column :last_name,        :string, :null => false
      t.column :email,            :string, :null => false
    end
  end

  def self.down
    drop_table :users
  end
end
